﻿using System;

class VariablesManipulation
{
    static void Main()
    {
        Console.WriteLine("Input number or string:");
        string userInput = Console.ReadLine();
        
        double number;

        bool isDoubleOrInt = double.TryParse(userInput, out number);

        switch (isDoubleOrInt)
        {
            case true:
                number += 1;
                Console.WriteLine("The output number is {0}", number);
                break;
            case false:
                Console.WriteLine("The output string is {0}", number + "*");
                break;
        }
    }
}